/*

	tools23d - tools for converting images to 3D formats.
    Copyright (C) 2014  Dave Gorst

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/

#ifndef CLI_COMMON_H_INCLUDED
#define CLI_COMMON_H_INCLUDED

BOOL T3D_InitialiseUI (params *);
void T3D_ShutdownUI (params *);

void T3D_PrintBanner (void);
void T3D_PrintHeader (void);
void T3D_PrintFooter (void);

/** ingroup OPTION_FUNCTIONS
 * @{
 */
OPTIONFUNCTION_PROTOTYPE (T3D_GeneralUnknown);
OPTIONFUNCTION_PROTOTYPE (T3D_SetAutocrop);
OPTIONFUNCTION_PROTOTYPE (T3D_SetPreserveAR);
OPTIONFUNCTION_PROTOTYPE (T3D_SetFilter);
OPTIONFUNCTION_PROTOTYPE (T3D_SetLogLevel);
OPTIONFUNCTION_PROTOTYPE (T3D_SetScale);
OPTIONFUNCTION_PROTOTYPE (T3D_SetDepth);
OPTIONFUNCTION_PROTOTYPE (T3D_SetMode);
OPTIONFUNCTION_PROTOTYPE (T3D_SetAlwaysYes);
OPTIONFUNCTION_PROTOTYPE (T3D_SetSort);
OPTIONFUNCTION_PROTOTYPE (T3D_DisplayHelp);
/** @} */

void T3D_ClearGeneralParams (params *);
t3d_return T3D_SetGeneralDefaults (params *);

extern option common_options_table [26];

#define SWITCH_NOT_FOUND -1

#endif
